Accounts

Accounts allow you to list and update your SignalWire Projects. You can create any number of projects on the SignalWire Dashboard and use the Accounts endpoint to list or update them.

An Account object returned by the API contains the following fields:

AttributeType
auth_tokenstringThe authorization token for this account. This token should be kept a secret and is not returned in a normal request.
date_createddatetimeThe date, in RFC 2822 GMT format, this account was created.
date_updateddatetimeThe date, in RFC 2822 GMT format, this account was updated.
friendly_namestringThe description, up to 64 characters long, of the account. Default is the email address this account is associated with.
sidstringThe unique identifier for the account.
statusstringThe status of the account. Possible values are: active, suspended, or closed.
subresource_urisobjectA Map of sub-accounts that are linked to the given account.
typestringThe type of the account. Possible values are: Trial and Full.
uristringThe URI for the account.

For example:

{
  "auth_token": "redacted",
  "date_created": "Sat, 15 Sept 2018 10:00:00 +0000",
  "date_updated": "Sun, 16 Sept 2018 20:00:00 +0000",
  "friendly_name": "My Project",
  "sid": "b3877c40-da60-4998-90ad-b792e98472af",
  "status": "active",
  "subresource_uris": {
    "available_phone_numbers": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers.json",
    "calls": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls.json",
    "conferences": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json",
    "incoming_phone_numbers": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/IncomingPhoneNumbers.json",
    "notifications": null,
    "outgoing_caller_ids": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/OutgoingCallerIds.json",
    "recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Recordings.json",
    "transcriptions": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Transcriptions.json",
    "addresses": null,
    "signing_keys": null,
    "connect_apps": null,
    "sip": null,
    "authorized_connect_apps": null,
    "usage": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Usage.json",
    "keys": null,
    "applications": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications.json",
    "short_codes": null,
    "queues": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues.json",
    "messages": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Messages.json"
  },
  "type": "Full",
  "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af.json"
}