Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Updated Tue May 30th 2023, 17:27 UTC

Authorization

You will need to specify an Authorization token when making API requests. See Authorization for details on how to obtain one.

curl -H 'Accept: application/vnd.textus+jsonld'

Accept Header

The TextUs API uses a custom mime type. When making requests you must specify an Accept header with a value of application/vnd.textus+jsonld. In cURL that would look like:

curl -H 'Accept: application/vnd.textus+jsonld'

Content-Type Header

For requests that require a body, you must also provide the Content-Type header. In cURL that would look like:

curl -H 'Content-Type: application/vnd.textus+jsonld'

© 2023 TextUs