Choose how to authenticate to an IXO API

Find which credential an IXO interface expects: classify it as a protocol gateway or a service API, look up its row in the authentication matrix, then test it.

IXO interfaces do not share one way to authenticate. A header that one interface accepts is not valid on another unless the authentication matrix says so. Use this page when you are about to call an IXO interface and need to know what to send with the request.

After reading it you will know which kind of interface you are calling, where its credential format is written down, and how to check that your request is accepted.

Before you start

  • Identify which interface you are integrating with: a protocol gateway or a service API.
  • Confirm the active endpoint and network in Networks and endpoints.
  • Confirm the required credential format in the Authentication matrix.

Steps

1. Classify the interface

2. Apply the required format

The formats used across IXO interfaces are listed in the Authentication matrix. Find the row for your interface and send what it says.

3. Send a test request

Send a minimal authenticated read request to the interface.

Check the result

  • You get an HTTP success response from your target endpoint.
  • You get no authentication or permission error.

When something goes wrong

What you seeWhat it means
401 UnauthorizedYour credential format or token source does not match the interface. Check its row in the Authentication matrix again.
403 ForbiddenYour identity is valid, but it lacks the scope or role the resource requires.
429 Too Many RequestsYou went over the rate policy of the interface. Retry with backoff, as the guidance for that API says.

If you need a different kind of authority

Calling an API is one kind of access. These guides cover related tasks.

You want toGo to
Log a user in and sign transactions from a browser app with their mobile walletSession signing with SignX
Let one account act for another on chain, or pay its feesManage authz grants and fee allowances
Put rules on how an account's transactions are authenticatedManage smart accounts
Call the Credentials worker as an issuer, a verifier or a holderCredentials API reference

Next steps