Get a string
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/strings/{string_id}
Returns one string with the wording that currently applies for the language requested.
An id that does not exist returns 200 with no string field.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The string’s id, e.g. web.payment_form.card_number.
Query Parameters
Section titled “Query Parameters”"default""ar"Lowercase two-letter ISO 639-1 language code (e.g. ar), or default for the base wording.
Defaults to default.
Enterprise field, for accounts with more than one branding. Leave out to use your own branding.
Responses
Section titled “Responses”The string
object
A customer-facing string and the wording that applies for one language
object
"web.payment_form.card_number"String id, <set>.<key>
"رقم البطاقة"The wording that currently applies
"ar"Language the wording applies to
Enterprise field. The branding the wording applies to
"Card Number"Present only when the string has its own wording for this language. Holds the wording it would otherwise inherit, which is what it goes back to if reset
Authentication required
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Was this page helpful?
What went wrong?
Thanks for telling us.